import request from '../../../utils/request';

const postReq = {
  // 新增留言
  async postLeavingAdd(params) {
    const {data} = await request.post('/api/Leaving/postLeavingAdd', params)
    return data
  },

  // 前台查询所有
  async getLeavingAllQt(params) {
    const {data} = await request.get('/api/Leaving/getLeavingAllQt', {params})
    return data
  },
}

export default postReq
